package cn.chenxinjie.hrm.controller;

import cn.chenxinjie.hrm.util.AjaxResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 陈鑫杰
 * @date 2022/3/19 10:59
 */
@RestController
public class SuccessController {

    /**
     * 登陆成功的接口
     * @return
     */
    @PostMapping("/success")
    public AjaxResult success(){
        return AjaxResult.me().setMessage("登陆成功");
    }

}
